<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ProjectDataSet" targetNamespace="urn:schemas-finlogik-com:FxCop-Statistics:ProjectDataSet.xsd" xmlns:mstns="urn:schemas-finlogik-com:FxCop-Statistics:ProjectDataSet.xsd" xmlns="urn:schemas-finlogik-com:FxCop-Statistics:ProjectDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="NotPublic" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="FxCopStatisticsConnectionString" ConnectionStringObject="" IsAppSettingsProperty="True" Modifier="Assembly" Name="FxCopStatisticsConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.FinlogiK.FxCop.Statistics.Windows.Properties.Settings.GlobalReference.Default.FxCopStatisticsConnectionString" Provider="System.Data.SqlClient">
          </Connection>
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="NotPublic" DataAccessorName="ProjectsTableAdapter" GeneratorDataComponentClassName="ProjectsTableAdapter" Name="Projects" UserDataComponentName="ProjectsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FxCopStatisticsConnectionString (Settings)" DbObjectName="FxCopStatistics.dbo.spGetProjects" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Fill" GenerateShortCommands="True" GeneratorSourceName="Fill" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="True">
                    <CommandText>dbo.spSaveProject</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Output" ParameterName="@ProjectID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProjectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="ProjectName" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsActive" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumn="IsActive" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@TreatAllExclusionsAsTodos" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumn="TreatAllExclusionsAsTodos" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProjectPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="ProjectPath" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FxCopCmdPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="FxCopCmdPath" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="False">
                    <CommandText>dbo.spGetProjects</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="True">
                    <CommandText>dbo.spSaveProject</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="InputOutput" ParameterName="@ProjectID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProjectID" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProjectName" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="ProjectName" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsActive" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumn="IsActive" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="False" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@TreatAllExclusionsAsTodos" Precision="1" ProviderType="Bit" Scale="0" Size="1" SourceColumn="TreatAllExclusionsAsTodos" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProjectPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="ProjectPath" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FxCopCmdPath" Precision="0" ProviderType="NVarChar" Scale="0" Size="500" SourceColumn="FxCopCmdPath" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProjectID" DataSetColumn="ProjectId" />
              <Mapping SourceColumn="ProjectName" DataSetColumn="ProjectName" />
              <Mapping SourceColumn="IsActive" DataSetColumn="IsActive" />
              <Mapping SourceColumn="ProjectPath" DataSetColumn="ProjectPath" />
              <Mapping SourceColumn="FxCopCmdPath" DataSetColumn="FxCopCmdPath" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="NotPublic" DataAccessorName="AnalysisRunsTableAdapter" GeneratorDataComponentClassName="AnalysisRunsTableAdapter" Name="AnalysisRuns" UserDataComponentName="AnalysisRunsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FxCopStatisticsConnectionString (Settings)" DbObjectName="FxCopStatistics.dbo.spGetAnalysisRuns" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Fill" GenerateShortCommands="False" GeneratorSourceName="Fill" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="False" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="False">
                    <CommandText>dbo.spGetAnalysisRuns</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="True" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="False" SourceVersion="Current">
                      </Parameter>
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProjectID" DataSetColumn="ProjectId" />
              <Mapping SourceColumn="AnalysisTimestamp" DataSetColumn="AnalysisTimestamp" />
            </Mappings>
            <Sources>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="ProjectDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="ProjectDataSet" msprop:Generator_DataSetName="ProjectDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Projects" msprop:Generator_UserTableName="Projects" msprop:Generator_RowDeletedName="ProjectsRowDeleted" msprop:Generator_RowChangedName="ProjectsRowChanged" msprop:Generator_RowClassName="ProjectsRow" msprop:Generator_RowChangingName="ProjectsRowChanging" msprop:Generator_RowEvArgName="ProjectsRowChangeEvent" msprop:Generator_RowEvHandlerName="ProjectsRowChangeEventHandler" msprop:Generator_TableClassName="ProjectsDataTable" msprop:Generator_TableVarName="tableProjects" msprop:Generator_RowDeletingName="ProjectsRowDeleting" msprop:Generator_TablePropName="Projects">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProjectId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="ProjectId" msprop:Generator_ColumnPropNameInRow="ProjectId" msprop:Generator_ColumnVarNameInTable="columnProjectId" msprop:Generator_ColumnPropNameInTable="ProjectIdColumn" type="xs:int" />
              <xs:element name="ProjectName" msprop:Generator_UserColumnName="ProjectName" msprop:Generator_ColumnPropNameInRow="ProjectName" msprop:Generator_ColumnVarNameInTable="columnProjectName" msprop:Generator_ColumnPropNameInTable="ProjectNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IsActive" msprop:Generator_UserColumnName="IsActive" msprop:Generator_ColumnPropNameInRow="IsActive" msprop:Generator_ColumnVarNameInTable="columnIsActive" msprop:Generator_ColumnPropNameInTable="IsActiveColumn" type="xs:boolean" default="true" />
              <xs:element name="TreatAllExclusionsAsTodos" msprop:Generator_UserColumnName="TreatAllExclusionsAsTodos" msprop:Generator_ColumnPropNameInRow="TreatAllExclusionsAsTodos" msprop:Generator_ColumnVarNameInTable="columnTreatAllExclusionsAsTodos" msprop:Generator_ColumnPropNameInTable="TreatAllExclusionsAsTodosColumn" type="xs:boolean" default="false" />
              <xs:element name="ProjectPath" msprop:Generator_UserColumnName="ProjectPath" msprop:Generator_ColumnPropNameInRow="ProjectPath" msprop:Generator_ColumnVarNameInTable="columnProjectPath" msprop:Generator_ColumnPropNameInTable="ProjectPathColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FxCopCmdPath" msprop:Generator_UserColumnName="FxCopCmdPath" msprop:Generator_ColumnPropNameInRow="FxCopCmdPath" msprop:Generator_ColumnVarNameInTable="columnFxCopCmdPath" msprop:Generator_ColumnPropNameInTable="FxCopCmdPathColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="AnalysisRuns" msprop:Generator_UserTableName="AnalysisRuns" msprop:Generator_RowDeletedName="AnalysisRunsRowDeleted" msprop:Generator_RowChangedName="AnalysisRunsRowChanged" msprop:Generator_RowClassName="AnalysisRunsRow" msprop:Generator_RowChangingName="AnalysisRunsRowChanging" msprop:Generator_RowEvArgName="AnalysisRunsRowChangeEvent" msprop:Generator_RowEvHandlerName="AnalysisRunsRowChangeEventHandler" msprop:Generator_TableClassName="AnalysisRunsDataTable" msprop:Generator_TableVarName="tableAnalysisRuns" msprop:Generator_RowDeletingName="AnalysisRunsRowDeleting" msprop:Generator_TablePropName="AnalysisRuns">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProjectId" msprop:Generator_UserColumnName="ProjectId" msprop:Generator_ColumnVarNameInTable="columnProjectId" msprop:Generator_ColumnPropNameInRow="ProjectId" msprop:Generator_ColumnPropNameInTable="ProjectIdColumn" type="xs:int" />
              <xs:element name="AnalysisTimestamp" msprop:Generator_UserColumnName="AnalysisTimestamp" msprop:Generator_ColumnVarNameInTable="columnAnalysisTimestamp" msprop:Generator_ColumnPropNameInRow="AnalysisTimestamp" msprop:Generator_ColumnPropNameInTable="AnalysisTimestampColumn" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Projects" />
      <xs:field xpath="mstns:ProjectId" />
    </xs:unique>
    <xs:unique name="Constraint2">
      <xs:selector xpath=".//mstns:Projects" />
      <xs:field xpath="mstns:ProjectName" />
    </xs:unique>
    <xs:unique name="AnalysisRuns_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:AnalysisRuns" />
      <xs:field xpath="mstns:ProjectId" />
      <xs:field xpath="mstns:AnalysisTimestamp" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="Projects_AnalysisRuns" msdata:parent="Projects" msdata:child="AnalysisRuns" msdata:parentkey="ProjectId" msdata:childkey="ProjectId" msprop:Generator_UserRelationName="Projects_AnalysisRuns" msprop:Generator_RelationVarName="relationProjects_AnalysisRuns" msprop:Generator_UserChildTable="AnalysisRuns" msprop:Generator_UserParentTable="Projects" msprop:Generator_ParentPropName="ProjectsRow" msprop:Generator_ChildPropName="GetAnalysisRunsRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>